<template>
  <div class="box">
  <SonCom :money="fMoney" @change-money="sonCall"></SonCom>
  </div>
    
</template>

<script setup lang="ts">
import { ref } from 'vue'
import SonCom from './components/SonCom.vue'
const sonCall = (moneyNum: number) => {
  fMoney.value=moneyNum
}
const fMoney = ref(10)
</script>

<style>

</style>